package org.crc.myvhrb.mapper;

import org.crc.myvhrb.model.HrRole;
import org.springframework.data.repository.query.Param;

public interface HrRoleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HrRole record);

    int insertSelective(HrRole record);

    HrRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HrRole record);

    int updateByPrimaryKey(HrRole record);

    int addRole(@Param("hrid") Integer hrid,@Param("rids") Integer[] rids);

    void deleteByHrId(Integer hrid);
}